package com.ruoyi.flowable.listener;

import org.flowable.engine.delegate.TaskListener;
import org.flowable.task.service.delegate.DelegateTask;

/**
 * @author Xuan xuan
 * @date 2021/4/20
 */
public class CommitTaskListener implements TaskListener{

    @Override
    public void notify(DelegateTask delegateTask) {
        System.out.println("进入提交表单任务");
        delegateTask.setVariable("taskVar",1);

    }

}
